Trace Analysis for Predicting the Effectiveness of Partial Evaluation

نویسنده

  • Germán Vidal
چکیده

The main goal of partial evaluation [3] is program specialization. Essentially, given a program and part of its input data—the so called static data—a partial evaluator returns a new, residual program which is specialized for the given data. An appropriate residual program for executing the remaining computations—those that depend on the so called dynamic data—is thus the output of the partial evaluator. Despite the fact that the main goal of partial evaluation is improving program efficiency (i.e., producing faster programs), there are very few approaches devoted to formally analyze the effects of partial evaluation, either a priori (prediction) or a posteriori. Recent approaches (e.g., [1, 5]) have considered experimental frameworks for estimating the best division (roughly speaking, a classification of program parameters into static or dynamic), so that the optimal choice is followed when specializing the source program. Here, we introduce an alternative, symbolic approach for predicting the potential effects of partial evaluation (which is, in principle, computationally less expensive). Basically, we first generate a finite representation that safely describes all possible call traces (i.e., sequences of predicate calls) for a given program. Then, we analyze how this finite representation would change by a particular partial evaluation. By comparing the original and the transformed representations, one may in some cases predict the effects of running the partial evaluator. A more detailed description of our approach can be found in [6].

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Predicting the Effectiveness of Partial Evaluation

Partial evaluation aims at improving programs by specializing them w.r.t. part of their input data. In general, however, the effectiveness of the partial evaluation process is hard to measure, even a posteriori. Recent approaches have introduced experimental (often computationally expensive) frameworks for this purpose. In this paper, we present an alternative, symbolic approach for predicting ...

متن کامل

Predicting of Effective Dose as Biomarker for Cytotoxicity Using Partial Least Square-Fourier Transform Infrared Spectroscopy (PLS_FTIR)

Toxicity bioassays are important tools to determine biological effects of chemical agents on species. The questions remained on, what effects have been imposed on each of the different molecular site of cells by chemical exposure and how to find a pattern for chemical toxicity. To address the questions, HepG2 cell lines were exposed to the different concentrations of cisplatin for 24 hours to r...

متن کامل

Predicting of Effective Dose as Biomarker for Cytotoxicity Using Partial Least Square-Fourier Transform Infrared Spectroscopy (PLS_FTIR)

Toxicity bioassays are important tools to determine biological effects of chemical agents on species. The questions remained on, what effects have been imposed on each of the different molecular site of cells by chemical exposure and how to find a pattern for chemical toxicity. To address the questions, HepG2 cell lines were exposed to the different concentrations of cisplatin for 24 hours to r...

متن کامل

Towards Predicting the Effectiveness of Partial Evaluation

Recent approaches to partial evaluation—a well-known technique for program specialization—include a so called size-change analysis for ensuring the termination of the process. This paper presents a novel application of size-change analysis for predicting the effectiveness of partial evaluation. Size-change analysis is based on computing an approximation of the program loops. Here, we present an...

متن کامل

Formal approach on modeling and predicting of software system security: Stochastic petri net

To evaluate and predict component-based software security, a two-dimensional model of software security is proposed by Stochastic Petri Net in this paper. In this approach, the software security is modeled by graphical presentation ability of Petri nets, and the quantitative prediction is provided by the evaluation capability of Stochastic Petri Net and the computing power of Markov chain. Each...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2008